<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>로그인성공</title>
</head>
<body>
	<table>
		<tr>
		<c:choose>
			<c:when test="${sessionScope.login_info.state_no==2 }">
				<td colspan="5"><font size="5" color="red">회원님은 이용정지 상태입니다.</font></td>
			</c:when>
			<c:when test="${sessionScope.login_info.state_no==1 }">
						<td colspan="5"><font size="5" color="red">회원님은 대출 정지 상태입니다.</font></td><p>
						
			</c:when>
			<c:otherwise>
				<td colspan="5">${sessionScope.login_info.name}님 환영합니다.</td>
			</c:otherwise>
		</c:choose>
		</tr>
		
		<tr>
			<td>대여현황 :</td>
			<td align="left">${sessionScope.reserBookNo }</td><!-- 숫자 클릭시 아래 상세정보 ajax로 처리 -->
			<td></td>
			<td>희망도서 :</td>
			<td align="left">${sessionScope.wishNo }</td>
		</tr>
		<tr>
			<td>대출가능 :</td>
			<td align="left"> 0 </td>
			<td></td>
			<td>도서예약 :</td>
			<td align="left"> 0 </td>
		</tr>
		
	</table>
<p>
<a href="/${initParam.context_root }/menu.jsp">메인메뉴</a>
<a href='/${initParam.context_root }/logout.do'>로그아웃</a>
<a href="/${initParam.context_root }/getLoginMemberInfo.do">자기정보조회</a>
<a href="/${initParam.context_root }/removeMember.do">회원 탈퇴</a>
<a href="write_form.jsp">글쓰기 폼</a>
<a href="/${initParam.context_root }/freeboardList.do?page">자유게시판</a>

</body>
</html>










